package com.swensen.game.data;


public class BoardData {
	
	public enum LevelType {
		BACKGROUND("Background", 0),
		MIDGROUND("Midground", 1),
		FOREGROUND("Foreground", 2);
		
		public static int COUNT = LevelType.values().length;
		
		int value;
		String name;
		
		LevelType(String name, int value) {
			this.name = name;
			this.value = value;
		}
		
		public int getValue() {
			return value;
		}

		public String getName() {
			return name;
		}
	}
	
	protected TileSet tileSet = new TileSet();
	
	public BoardData(String tileSetPath) {
		tileSet.loadSet(tileSetPath);
	}
	
	public TileSet getTileSet() {
		return tileSet;
	}
	
	public void setTileSet(String tileSetPath) {
		this.tileSet.loadSet(tileSetPath);
		
	}
}
